-
Notifications
You must be signed in to change notification settings - Fork 1
New issue
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
Small refactoring to load from ckpt #203
Conversation
Codecov ReportAttention: Patch coverage is
Additional details and impacted files@@ Coverage Diff @@
## main #203 +/- ##
==========================================
+ Coverage 37.05% 37.14% +0.08%
==========================================
Files 20 20
Lines 1414 1416 +2
==========================================
+ Hits 524 526 +2
Misses 890 890 ☔ View full report in Codecov by Sentry. |
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
Yes, make sense to me. Just small suggestion, should we only call the function if there is checkpoint_path? So we also don't need to check the condition, if the path is not there
4668b58
to
94361ab
Compare
* Move checkpoint type computation to utils * Refactor checkpointing in training script * Get ckpt type if ckpt is passed
Following suggestions from a similar code review, this PR
detection_utils
,Let me know what you think!
thanks 🙌